package com.example.consumer.service.openfeign;


import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(name = "nacos-provider", fallback = RemoteHystrix.class)
public interface IEchoService {
    @RequestMapping(value = "/provider/test/{str}")
    String echo(@PathVariable(name = "str") String str);

}
